package com.shy.springframework.test.bean;

/**
 * @author yzpang
 * @desc:
 * @date: 2023/2/7 13:43
 */
public class UserService {
    private String uid;

    private UserDao userDao;

    public UserService() {
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void queryUserInfo(){
        System.out.println("查询用户信息: " + userDao.queryUserName(uid));
    }

}
